wget http://pear.php.net/go-pear.phar &&
php go-pear.phar &&
rm -rf go-pear.phar &&
dnf install -y php-devel brotli-devel &&
dnf install -y libcurl &&
pecl install https://pecl.php.net/get/swoole-6.0.0.tgz &&
pecl install https://pecl.php.net/get/mongodb-1.20.1.tgz &&
pecl install https://pecl.php.net/get/redis-6.1.0.tgz &&
echo extension=swoole.so >> /etc/php.ini &&
echo extension=redis.so >> /etc/php.ini &&
echo extension=mongodb.so >> /etc/php.ini 